package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 退款申请管理
 *
 */
@TableName(value = "student_refund")
public class StudentRefund implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<StudentRefund> createExample(){
		return new Example<StudentRefund>(StudentRefund.class);
	}

	/**  */
	@TableId(value = "student_refund_id")
	private Long studentRefundId;


	/** 申请退款学生id */
	@TableField(value = "student_id")
	private Long studentId;

	/** 申请退款学生 */
	@TableField(value = "student_name")
	private String studentName;

	/** 班级id */
	@TableField(value = "class_id")
	private Long classId;

	/** 班级名称 */
	@TableField(value = "class_name")
	private String className;


	/** 退课的讲数序号 */
	@TableField(value = "refund_lecture")
	private String refundLecture;

	/** 退款金额 */
	private BigDecimal amount;

	/** 0-处理中，1-已处理，2-已拒绝 */
	private Integer status;

	/** 退款描述 */
	private String description;

	/** 审批详情 */
	@TableField(value = "return_result")
	private String returnResult;

	/** 退款方式：0-支付宝，1-微信，2-现金，3-虚拟余额账户 ，4-银行卡转账 */
	@TableField(value = "refund_way")
	private Integer refundWay;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  银行名称 */
	@TableField(value = "bank_name")
	private String bankName;

	/** 开户城市 */
	@TableField(value = "bank_city")
	private String bankCity;

	/** 卡主 */
	@TableField(value = "card_user")
	private String cardUser;

	/** 银行卡号 */
	@TableField(value = "card_no")
	private String cardNo;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/**  */
	@TableField(value = "bus_team_id")
	private Long busTeamId;

	@TableField(value = "student_reg_id")
	private Long studentRegId ;

	/** 支付状态 0:未支付，1:已支付 */
	@TableField(value = "pay_status")
	private Integer payStatus ;


	@TableField("apply_operator")
	private String applyOperator;

	@TableField("audit_operator")
	private String auditOperator ;

	@TableField("audit_time")
	private Date auditTime ;


	@TableField("pay_operator")
	private String payOperator ;

	@TableField("pay_time")
	private Date payTime ;

	/** 剩余的课程金额 */
	@TableField("remain_amount")
	private BigDecimal remainAmount;

	/** 剩余的课程优惠金额 */
	@TableField("remain_discount")
	private BigDecimal remainDiscount;

	/** 期ID */
	@TableField(value = "period_id")
	private Long periodId;

	@TableField("period_name")
	private String periodName ;

	/** 校区id */
	@TableField(value = "campus_id")
	private Long campusId;

	/** 校区名称 */
	@TableField(value = "campus_name")
	private String campusName;

	@TableField(value = "grade_id")
	private Long gradeId;

	@TableField(value = "grade_name")
	private String gradeName;


	@TableField(value = "subject_id")
	private Long subjectId;

	@TableField(value = "subject_name")
	private String subjectName;


	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCity() {
		return bankCity;
	}

	public void setBankCity(String bankCity) {
		this.bankCity = bankCity;
	}

	public String getCardUser() {
		return cardUser;
	}

	public void setCardUser(String cardUser) {
		this.cardUser = cardUser;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public Long getStudentRefundId() {
		return this.studentRefundId;
	}

	public void setStudentRefundId(Long studentRefundId) {
		this.studentRefundId = studentRefundId;
	}


	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public String getClassName() {
		return this.className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getRefundLecture() {
		return this.refundLecture;
	}

	public void setRefundLecture(String refundLecture) {
		this.refundLecture = refundLecture;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getReturnResult() {
		return this.returnResult;
	}

	public void setReturnResult(String returnResult) {
		this.returnResult = returnResult;
	}

	public Integer getRefundWay() {
		return this.refundWay;
	}

	public void setRefundWay(Integer refundWay) {
		this.refundWay = refundWay;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getAreaTeamId() {
		return areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public Long getBusTeamId() {
		return busTeamId;
	}

	public void setBusTeamId(Long busTeamId) {
		this.busTeamId = busTeamId;
	}

	public Long getStudentRegId() {
		return studentRegId;
	}

	public void setStudentRegId(Long studentRegId) {
		this.studentRegId = studentRegId;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public String getApplyOperator() {
		return applyOperator;
	}

	public void setApplyOperator(String applyOperator) {
		this.applyOperator = applyOperator;
	}

	public String getAuditOperator() {
		return auditOperator;
	}

	public void setAuditOperator(String auditOperator) {
		this.auditOperator = auditOperator;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getPayOperator() {
		return payOperator;
	}

	public void setPayOperator(String payOperator) {
		this.payOperator = payOperator;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public BigDecimal getRemainAmount() {
		return remainAmount;
	}

	public void setRemainAmount(BigDecimal remainAmount) {
		this.remainAmount = remainAmount;
	}

	public BigDecimal getRemainDiscount() {
		return remainDiscount;
	}

	public void setRemainDiscount(BigDecimal remainDiscount) {
		this.remainDiscount = remainDiscount;
	}

	public Long getPeriodId() {
		return periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public String getPeriodName() {
		return periodName;
	}

	public void setPeriodName(String periodName) {
		this.periodName = periodName;
	}

	public Long getCampusId() {
		return campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getGradeId() {
		return gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Long getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
}
